<?php
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/





Route::get('banner/list', 'BannerController@show');

Route::post('images','ImageController@index');//图片上传
Route::post('image/uploads','ImageController@upload');//多图片上传
Route::post('/upload','ImageController@admin_upload');//图片上传
//分类
Route::get('category','CategoryController@list');//分类列表
Route::get('article','ArticleController@list');//文章列表
Route::get('photo','PhotoController@list');//图片列表
Route::get('novel','NovelController@list');//小说列表
Route::get('video','VideoController@list');//视频列表
Route::get('config','ConfigController@list');//配置列表

